<template>
  <div>
    <h2>{{title}}</h2>
    <div>
      <slot name="a"></slot>
    </div>
    <div>
      <slot name="b"></slot>
    </div>

    <div>
      <slot name="c"> <!-- 插槽默认内容 -->
        <h5>cccccccc</h5>
      </slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Child',
  props: ['title']
}
</script>

<style scoped>

</style>
